{% extends '::frontend.html.twig' %}

{% block section%}
    
    {% block title %}Ver / Modificar mis datos{% endblock %}
    
    {% block main %}
        <h1>{{ block('title') }}</h1>
        <form action="{{ path('usuario_editar_perfil') }}" method="post"
              {{ form_enctype(formulario) }}>
            <div class="errors">
                {{ form_errors(formulario) }}
            </div>
            <div>
                {{ form_row(formulario.nombres) }}
            </div>
            <div>
                {{ form_row(formulario.apellidos) }}
            </div>
            {{ form_rest(formulario) }}
            <input class="boton" type="submit" value="Guardar cambios" />
        </form>
    {% endblock %}
    
{% endblock %}